package org.example.controller;

import org.springframework.web.bind.annotation.*;

@RestController
@RequestMapping("/four")
public class FourCotroller {
    // http://localhost:8001/four
    //@RequestMapping(method = RequestMethod.GET)
   @GetMapping
    public String find(){
        return "find";
    }
    //@RequestMapping(method = RequestMethod.POST)
    @PostMapping
    public String save(){
       return "save";
    }
    @DeleteMapping
    public String delete(){
       return "delete";
    }
    @PutMapping
    public String update(){
       return "update";
    }
}
